import Vue from 'vue'
import { Button, Input, Form, FormItem, Message, Menu, MenuItem, Submenu, Avatar, Col, Row, Dropdown, DropdownItem, DropdownMenu, MenuItemGroup, Card, Header, Main, Footer, MessageBox, Select, Option, Upload, Table, TableColumn, Dialog, Pagination, Drawer, Loading } from 'element-ui'

Vue.use(Button).use(Input).use(Form).use(FormItem).use(Menu).use(MenuItem).use(Submenu).use(Avatar).use(Col).use(Row).use(Dropdown).use(DropdownItem).use(DropdownMenu).use(MenuItemGroup).use(Card).use(Header).use(Main).use(Footer).use(Select).use(Option).use(Upload).use(Table).use(TableColumn).use(Dialog).use(Pagination).use(Drawer)

Vue.prototype.$message = Message
Vue.prototype.$confirm = MessageBox.confirm
Vue.prototype.$loading = Loading
